﻿<?xml version="1.0" encoding="utf-8"?>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:timeEstimate="0" MadCap:priority="0" MadCap:status="Complete">
    <head>
        <meta name="copyright" value="Copyright 2000 Ipswitch, Inc." /><title>Changing the permissions for UNIX files</title>
        <link rel="StyleSheet" href="../Resources/Stylesheets/styles.css" />
    </head>
    <body>
        <h1>
            <MadCap:keyword term="UNIX FTP sites;permissions" />Changing the permissions for UNIX files</h1>
        <p><span style="color: #000000;">You can change modes for 
 a UNIX file on an FTP site, provided you have permission. </span>
        </p>
        <ol>
            <li style="font-size: 8pt;" class="p-Topic-Text-Numbered">
                <p class="Topic-Text-Numbered">Select 
 the file.</p>
            </li>
            <li style="font-size: 8pt;" class="p-Topic-Text-Numbered">
                <p class="Topic-Text-Numbered">From 
 the right mouse menu select <span style="font-weight: bold;">Properties</span>. 
 The permissions areas appear at the bottom of the 
 <span style="font-weight: bold;">Properties </span><span>dialog. 
 If the file is not on a UNIX server, the fields 
 will be blank.&#160;&#160;</span>&#160;</p>
            </li>
            <li style="font-size: 8pt;" class="p-Topic-Text-Numbered">
                <p class="Topic-Text-Numbered">Set 
 any of the options and click the <span style="font-weight: bold;">OK</span> 
 button.</p>
            </li>
        </ol>
        <p class="Tip-Note-Heading">Background Information</p>
        <p>Permissions can also be expressed as three-digit values; for example, 
 751. The first digit expresses Owner permissions; the second, Group permissions; 
 the third, Other. </p>
        <p>Three-digit values are used in the WS_FTP log, in the message area, 
 and by some system administrators and ISPs. </p>
        <p>The table below shows how WS_FTP options correspond to each digit. The 
 third column shows the possible values for Owner, Group, and Other as 
 viewed in the ten-position value in the first column of a directory list 
 for a UNIX site.</p>
        <p style="margin-top: 0;margin-bottom: 0;">&#160;</p>
        <table style="width: 328px;mc-table-style: url('../Resources/ws_ftp_tablestyle.css');" cellspacing="0" width="328" class="TableStyle-ws_ftp_tablestyle">
            <tr valign="top" class="TableStyle-ws_ftp_tablestyle-Body-Body1">
                <td width="136px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body1">
                    <p><span style="font-weight: bold;">WS_FTP Options</span>
                    </p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body1">
                    <p><span style="font-weight: bold;">1</span><span style="font-weight: bold;"><span style="vertical-align: super;">st</span></span><span style="font-weight: bold;">, 
 2</span><span style="font-weight: bold;"><span style="vertical-align: super;">nd</span></span><span style="font-weight: bold;">, or 3</span><span style="font-weight: bold;"><span style="vertical-align: super;">rd</span></span><span style="font-weight: bold;"> 
 digit of 3-digit no.</span>
                    </p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyD-Column1-Body1">
                    <p><span style="font-weight: bold;">Permissions in dir list</span>
                    </p>
                </td>
            </tr>
            <tr valign="top" class="TableStyle-ws_ftp_tablestyle-Body-Body2">
                <td width="136px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body2">
                    <p>none</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body2">
                    <p>0</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyD-Column1-Body2">
                    <p>---</p>
                </td>
            </tr>
            <tr valign="top" class="TableStyle-ws_ftp_tablestyle-Body-Body1">
                <td width="136px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body1">
                    <p>Execute</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body1">
                    <p>1</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyD-Column1-Body1">
                    <p>--x</p>
                </td>
            </tr>
            <tr valign="top" class="TableStyle-ws_ftp_tablestyle-Body-Body2">
                <td width="136px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body2">
                    <p>Write</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body2">
                    <p>2</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyD-Column1-Body2">
                    <p>-w-</p>
                </td>
            </tr>
            <tr valign="top" class="TableStyle-ws_ftp_tablestyle-Body-Body1">
                <td width="136px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body1">
                    <p>Write, Execute</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body1">
                    <p>3</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyD-Column1-Body1">
                    <p>-wx</p>
                </td>
            </tr>
            <tr valign="top" class="TableStyle-ws_ftp_tablestyle-Body-Body2">
                <td width="136px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body2">
                    <p>Read</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body2">
                    <p>4</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyD-Column1-Body2">
                    <p>r--</p>
                </td>
            </tr>
            <tr valign="top" class="TableStyle-ws_ftp_tablestyle-Body-Body1">
                <td width="136px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body1">
                    <p>Read, Execute</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body1">
                    <p>5</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyD-Column1-Body1">
                    <p>r-x</p>
                </td>
            </tr>
            <tr valign="top" class="TableStyle-ws_ftp_tablestyle-Body-Body2">
                <td width="136px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body2">
                    <p>Read, Write</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body2">
                    <p>6</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyD-Column1-Body2">
                    <p>rw-</p>
                </td>
            </tr>
            <tr valign="top" class="TableStyle-ws_ftp_tablestyle-Body-Body1">
                <td width="136px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body1">
                    <p>Read, Write, Execute</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyE-Column1-Body1">
                    <p>7</p>
                </td>
                <td width="96px" class="TableStyle-ws_ftp_tablestyle-BodyD-Column1-Body1">
                    <p>rwx</p>
                </td>
            </tr>
        </table>
        <p style="margin-top: 0;margin-bottom: 0;">&#160;</p>
        <p>Therefore, the permission described as 751 would appear in a directory 
 listing as a ten-position code, drwxr-x&amp;emdash;x, where:</p>
        <ul>
            <li style="font-size: 8pt;" class="p-Topic-Text-Bulleted">
                <p class="Topic-Text-Bulleted">the 
 first position, d, indicates whether item is a file (-) or directory (d)</p>
            </li>
            <li style="font-size: 8pt;" class="p-Topic-Text-Bulleted">
                <p class="Topic-Text-Bulleted">positions 
 2-4 (rwx) indicate Owner permissions: read, write, execute</p>
            </li>
            <li style="font-size: 8pt;" class="p-Topic-Text-Bulleted">
                <p class="Topic-Text-Bulleted">positions 
 5-7 (r-x) indicate Group permissions: read and execute.</p>
            </li>
            <li style="font-size: 8pt;" class="p-Topic-Text-Bulleted">
                <p class="Topic-Text-Bulleted">positions 
 8-10 (--x) indicate Other permissions: execute only.</p>
            </li>
        </ul>
        <p>Note that if you attempt to change permissions, you will need to check 
 the message area or the log to see if you were successful.</p>
    </body>
</html>